Video generating method, apparatus, electronic device and computer storage medium

ABSTRACT

Embodiments of the present disclosure provide a video generating method, apparatus, electronic device, and computer storage medium. The method comprises: receiving a user&#39;s video capturing operation through a video playing interface of an original video; in response to the video capturing operation, superimposing a video capturing window on the video playing interface, capturing a user&#39;s video, and displaying the user&#39;s video through the video capturing window; and combining the user&#39;s video with the original video to obtain a combined video. According to the embodiments of the present disclosure, the combined video by combining the user&#39;s video with the original video may be obtained conveniently and quickly, and the operation process is simple and fast, and the actual application requirements of the user can be better meet, which improves the users&#39; interactive experience.

CROSS-REFERENCE TO RELATED APPLICATION

This application is the U.S. National Stage of International ApplicationNo. PCT/CN2018/124064, filed on Dec. 26, 2018, which is based on andclaims priority to Chinese Patent Application No. 201811223744.4, filedon Oct. 19, 2018, in the Chinese National Intellectual PropertyAdministration, the disclosure of which is incorporated by referenceherein its entity.

TECHNICAL FIELD

The present disclosure relates to video processing techniques, and inparticular, to a video generating method, apparatus, electronic device,and computer storage medium.

BACKGROUND ART

When browsing videos on a platform where a user can interact through thevideos, the user may be interested in certain videos, or has some ideasof himself. At this point, the user will also record some videos basedon the videos they are interested in to express his ideas, and thenupload them to a video interactive platform so that more people may knowhis ideas.

In prior art, when a user wants to capture an interactive video based ona certain video on the video platform, the user usually firstlydownloads and save the original video on the video platform, and thencompletes the recording and editing of the interactive video using someprofessional video tools, and later uploads the completed interactivevideo onto the video platform. However, the entire interactive videoproduction process cannot be completed only via the video platform,thereby reducing the user's interactive experience.

As can be seen that, the existing interactive video combining manner iscomplicated, and the user's interactive experience is poor, which cannotmeet the actual application requirements of the user.

SUMMARY OF THE INVENTION

In a first aspect, the present disclosure provides a video generatingmethod, the method comprising:

receiving a user's video capturing operation through a video playinginterface of an original video;in response to the video capturing operation, superimposing a videocapturing window on the video playing interface, capturing a user'svideo, and displaying the user's video through the video capturingwindow; andcombining the user's video with the original video to obtain a combinedvideo.

In a second aspect, the present disclosure provides an electronicdevice, the electronic device comprising:

a processor and a memory,wherein the memory is used to store computer operation instructions; andthe processor is used to execute the method as shown in any of the firstaspects of the present disclosure by calling the computer operationinstructions.

In a third aspect, the present disclosure provides a computer storagemedium, the computer storage medium stores at least one instruction, atleast one program, a code set, or a set of instructions, the at leastone instruction, at least one program, the code set, or the set ofinstructions is loaded and executed by a computer to implement themethod as shown in any of the first aspects of the present disclosure.

THE DESCRIPTION OF DRAWINGS

In order to more clearly illustrate the technical solutions in theembodiments of the present disclosure, the drawings to be used in thedescription of the embodiments of the present disclosure will be brieflydescribed below.

FIG. 1 is a schematic flowchart diagram of a video generating methodaccording to an embodiment of the present disclosure;

FIG. 2 is a schematic diagram of a video playing interface according toan embodiment of the present disclosure;

FIG. 3 is a schematic diagram of still another video playing interfaceaccording to an embodiment of the present disclosure;

FIG. 4 is a schematic diagram of still another video playing interfaceaccording to an embodiment of the present disclosure;

FIG. 5A is a schematic diagram of a volume adjustment manner accordingto an embodiment of the present disclosure;

FIG. 5B is a schematic diagram of another volume adjustment manneraccording to an embodiment of the present disclosure;

FIG. 6A is a schematic diagram of another video playing interfaceaccording to an embodiment of the present disclosure;

FIG. 6B is a schematic diagram of still another video playing interfaceaccording to an embodiment of the present disclosure;

FIG. 7 is a schematic structural diagram of a video generation apparatusaccording to an embodiment of the present disclosure; and

FIG. 8 is a schematic structural diagram of an electronic deviceaccording to an embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

The embodiments of the present disclosure will be described in detailhereinafter. The examples of these embodiments have been illustrated inthe accompanying drawings throughout which same or similar referencenumerals refer to same or similar elements or elements having same orsimilar functions. The embodiments described with reference to theaccompanying drawings are illustrative, merely used for explaining thepresent disclosure and should not be regarded as any limitationsthereto.

It should be understood by those skilled in the art that singular forms“a”, “an”, “the” and “said” may be intended to include plural forms aswell, unless otherwise stated. It should be further understood thatterms “comprise/comprising” used in this specification specify thepresence of the stated features, integers, steps, operations, elementsand/or components, but not exclusive of the presence or addition of oneor more other features, integers, steps, operations, elements,components, and/or combinations thereof. It should be understood that,when a component is referred to as being “connected to” or “coupled to”another component, it may be directly connected or coupled to otherelements or provided with intervening elements therebetween. Inaddition, “connected to” or “coupled to” as used herein may comprisewireless connection or wireless coupling. As used herein, the term“and/or” comprises all or any of one or more associated listed items orcombinations thereof.

The technical solutions of the present disclosure and how the technicalsolutions of the present disclosure solve the above technical problemswill be described in detail below with reference to specificembodiments. The following specific embodiments may be combined witheach other, and the same or similar concepts or processes may not bedescribed in some embodiments any more. Embodiments of the presentdisclosure will be described below with reference to the accompanyingdrawings.

An embodiment of the present disclosure provides a video generatingmethod. As shown in FIG. 1, the method may comprise:

Step S110: receiving a user's video capturing operation through a videoplaying interface of an original video;

Step S120: in response to the video capturing operation, superimposing avideo capturing window on the video playing interface, capturing auser's video, and displaying the user's video through the videocapturing window; and

Step S130: combining the user's video with the original video to obtaina combined video.

According to the embodiments of the present disclosure, the user canobtain the combined video combining the user's video with the originalvideo only by performing the related operations of the user's videocapturing on the video playing interface, and the operation process issimple and fast. Since the user's video may reflect the user'simpression, comments or viewing reflection to the original video, theuser can conveniently represent his or her opinions or reflection on theoriginal video, which can better meet the user's requirements for actualapplications and improving the user's interactive experience.

The video generating method provided by an embodiment of the presentdisclosure is described in detail below.

In step S110, the user's video capturing operation is received throughthe video playing interface of the original video.

Wherein, the video capturing operation indicates that the user wants tostart capturing the user's video based on the original video on thevideo playing interface, that is, the action for the user to trigger tostart capturing the user's video. The specific form of the operation maybe configured according to the needs, for example, may be a triggeringaction of the user at a specified operation position on the interface ofthe application of the client end. Wherein, the video playing interfacemay be used for interaction between the electronic device and the user,and the user's related operations to the original video, for example,operations such as sharing the original video or performing a combining,maybe received through the interface.

In actual applications, the user's video capturing operations may bereceived through a relevant video capturing triggering identifier of theclient end. Wherein, the specific format of the triggering identifiermay be configured according to actual needs, for example, the identifiermay be a specified triggering button or input box on the interface ofthe client end, or may be a user's voice instruction. In an embodimentof present disclosure, for example, it may be a virtual button “combine”(“co-capture”, “superimpose”, “re-act” or “re-post”) or “capture”displayed on the application interface of the client end, and theoperation of the user clicking the button may be the user's videocapturing operation.

In step S120, in response to the video capturing operation, the videocapturing window is superimposed on the video playing interface, theuser's video is captured, and the user's video is displayed through thevideo capturing window.

In an alternative embodiment of the present disclosure, the above videocapturing operation may comprise a video capturing triggering operationand a video starting-capturing operation. In this case, the solution maycomprise:

receiving a user's video capturing triggering operation through thevideo playing interface of the original video;in response to the video capturing triggering operation, superimposingthe video capturing window on the video playing interface, capturing theuser's video, and displaying the user's video through the videocapturing window;receiving the user's video starting-capturing operation through thevideo playing interface; andin response to the video starting-capturing operation, capturing theuser's video and displaying the user's video through the video capturingwindow.

In other words, the user's video capturing operation may be oneoperation or multiple operations. In actual applications, thecorresponding configuration may be performed according to actual needs.Wherein, the video capturing triggering operation indicates that theuser wants to capture the user's video based on the original video onthe video playing interface, that is, the action for the user to triggerto start capturing the user's video, and the specific form of theoperation may be configured according to the needs, for example, may bea triggering action of the user at the specified operation position onthe interface of the application of the client end.

The video starting-capturing operation indicates that the user wants tostart capturing the user's video through the video capturing window,that is, the action for the user to trigger to start capturing theuser's video, and when the operation is received, the capturing of theuser's video is started. Wherein, the specific form of the operation maybe configured according to the needs, for example, may be a virtualbutton “start capturing” on the interface of the application of theclient end of the user.

It should be noted that, in the actual applications, regardless ofwhether the user's video capturing operation is one operation ormultiple operations, the specific implementation form of acquiring eachoperation may be configured according to actual needs, and theembodiment of the present disclosure is not limited.

As an example, a video playing interface of the original video of theapplication at the client end in the electronic device is shown in FIG.2. The virtual button “combine” displayed on the interface may be avideo capturing triggering button, and the operation of the userclicking the button may be the user's video capturing triggeringoperation; on the video playing interface, after receiving the user'svideo capturing triggering operation, the video capturing window A issuperimposed on the video playing interface B. The virtual button“capturing” shown on the interface may be a starting-capturing button,and the operation of the user clicking this button may be the user'svideo starting-capturing operation. After the operation is received, thecapturing of the user's video is started through the video capturingwindow A, and the function of capturing the user's video based on theoriginal video is realized.

It should be noted that, in practical applications, the specific form ofthe video playing interface and the form of each button may beconfigured according to actual needs, and the above example is only anoptional implementation. Optionally, the user's video in the embodimentof the present disclosure may be a video containing a user therein, thatis, the video may be a video recorded for the user, and certainly, maybe a video of another scene recorded by the user after being adjusted asneeded.

In an embodiment of the present disclosure, the method may furthercomprise:

displaying the original video while displaying the user's video throughthe video capturing window.

In practical applications, when the user's video is being captured, theoriginal video may be in a state of being played, that is, the user'svideo may be recorded while the original video being played, such thatthe effect of playing while recording can be achieved. Of course, theoriginal video may also be paused at a certain video frame image whilethe user's video being captured, based on actual needs.

In an optional solution, if the original video is in the state of beingplayed before the user's video capturing operation is received throughthe video playing interface of the original video, the original videomay be automatically paused and the video capturing window may bedisplayed on the video playing interface when the user's video capturingoperation is received, then the recording of the user's video is startedwhile the playing of the original video is restored. Certainly, thevideo capturing window also may be displayed on the video playinginterface when the user's video capturing operation is received afterthe user pauses the original video, then the recording of the user'svideo is started while the playing of the original video is restored.

In practical applications, the video capturing window may besuperimposed (superimposedly displayed) on or laid over a presetposition on the video playing interface, where the preset position maybe a pre-configured display position based on the display interface sizeof the user's electronic device, for example, the preset position may bethe upper left of the video playing interface. The size of the videocapturing window is smaller than the display window of the originalvideo, such that the video capturing window only blocks part of theimage content of the original video. Wherein, the initial size of thevideo capturing window may be configured according to actual needs, suchthat the occlusion of the original video image is minimized as much aspossible when the original video is played, thereby not affecting theuser watching the original video, and not affecting the user watchingthe recorded image as much as possible while the user's video iscaptured through the video capturing window. For example, the size ofthe video capturing window displayed on the electronic device may beautomatically adjusted according to the size of the display interface ofthe user's electronic device, such as the video capturing window beingone tenth or one fifth of the display interface of the electronicdevice.

In the embodiment of the present disclosure, the shape of the videocapturing window is not limited, and may include a circle, a rectangle,and other shapes, which may be configured according to actual needs.

In an embodiment of the present disclosure, the method may furthercomprise:

receiving a window movement operation of the user for the videocapturing window; andin response to the window movement operation, adjusting the videocapturing window to a corresponding area on the video playing interface.

Wherein, the user may adjust the position of the video capturing windowto meet the needs of different users for the position of the videocapturing window on the video playing interface. In actual applications,optionally, the video capturing window position may be adjusted with anyof the following types of user's window movement operations:

First type: the user may adjust the position of the video capturingwindow by dragging the video capturing window with operating objects(e.g. fingers). The operating objects touching and dragging the videocapturing window indicates that the position of the video capturingwindow is adjusted, and when the operating objects leave from the videocapturing window (i.e. stopping dragging the video capturing window),the position where the dragging is stopped is the corresponding area inwhich the video capturing window locates on the video playing interface.

Second type: the user may adjust the position of the video capturingwindow through a position progress bar displayed on the video playinginterface, and the user may determine the corresponding area where thevideo capturing window locates on the video playing interface by slidingthe position progress bar.

In an embodiment of the present disclosure, the method may furthercomprise:

displaying a pre-configured window adjustment boundary line on the videoplaying interface in response to the window movement operation, whereinthe window adjustment boundary line may be used to define a display areaof the video capturing window;determining the current display area of the video capturing windowaccording to the window movement operation and the window adjustmentboundary line; andadjusting the video capturing window to a corresponding position on thevideo playing interface according to the current display area.

Wherein, the video playing interface may have a pre-configured windowadjustment boundary line, and the window adjustment boundary line may beused to define a display area where the video capturing window locateson the video playing interface. In practical applications, the windowadjustment boundary line may be pre-configured based on various displayinterface sizes of different electronic devices, such that the contentscaptured in the video capturing window may be adapted to be displayed onthe display interface of any electronic device. Based on the windowadjustment boundary line configuration, when the user's window movementoperation is received, the pre-configured window adjustment boundaryline is simultaneously displayed on the video playing interface, suchthat there is adjustment basis for adjusting the video capturing windowwhen the user adjusts the video capturing window.

The window adjustment boundary line may be used to define the adjustmentrange of the video capturing window on the video playing interface. Inpractical applications, it may be configured according to the needs. Forexample, the window adjustment boundary line may be a guide line locatedat a pre-configured position on the video playing interface, and thepre-configured position may comprise at least one position of a top, abottom, a left side, and a right side of the video playing interface,and the guide lines at different positions may define the adjustmentrange of the corresponding position of the video capturing window on thevideo playing interface.

As shown in the schematic diagram of a video playing interface in FIG.3, two guide lines at the top and the left of the video playinginterface are taken as the window adjustment lines (i.e., the windowadjustment boundary lines x and y). The user may trigger the windowadjustment operation by dragging the video capturing window f. When theoperation is received, the window adjustment boundary lines a and b aredisplayed on the video playing interface. In this example, the user maydrag the video capturing window f from the position P1 to the positionP2. Based on the position P2, the video capturing window f may beadjusted to a position on the video playing interface, corresponding tothe position P2, to realize the adjustment of the video capturingwindow.

In an embodiment of the present disclosure, determining the currentdisplay area of the video capturing window according to the windowmovement operation and the window adjustment boundary line may comprise:

determining a first display area of the video capturing window accordingto a window movement operation;if the distance between the first display area and any of the windowadjustment boundary lines is not less than a set distance, it isdetermined that the first display area is the current display area; andif the distance between the first display area and any of the windowadjustment boundary lines is less than the set distance, it isdetermined that the second display area is the current display area,wherein, the second display area is an area in which the first displayarea is shifted to any of the window adjustment boundary lines, and atleast one position point of the second display area coincides with anyof the window adjustment boundary lines.

Wherein, the video capturing window has a relatively better displayposition within the adjustment range limited by the window adjustmentboundary line, such as a display area close to the window adjustmentboundary line. During the process in which the user adjusts the videowindow adjustment, except for the user who has requirement for thedisplay area of the video capturing window above the window playinginterface, the user cannot accurately acquire a relative better displayposition, then the distance between the display area of the videocapturing window and the window adjustment boundary line during theadjustment is helpful for the user adjusting the video capturing windowto a relatively better position on the video playing interface.

In one or more embodiments of present disclosure, during the adjustmentof the video capturing window, when the distance between the firstdisplay area of the video capturing window and any of the windowadjustment boundary lines is not less than the set distance, itindicates that the user may wish to adjust the video capturing window tothe display position of the non-edge area of the video playinginterface, then the first display area may be used as an area to whichthe video capturing window is to be adjusted, that is, the currentdisplay area. When the distance between the first display area and anyof the window adjustment boundary lines is less than the set distance,it indicates that the user may wish to adjust the video capturing windowto the edge area of the video playing interface to occlude the playinginterface of the original video as little as possible. At this time, thecurrent display area may be determined as the second display area at theboundary line.

In practical applications, if the video capturing window is a rectangleand the window adjustment boundary lines are straight lines, the firstdisplay area is a rectangle, and the area in which the first displayarea is shifted to any of the window adjustment boundary lines is thecorresponding area in which the any of boundary lines of the firstdisplay area coincides with any of window adjustment boundary lines; ifthe video capturing window is circular and the window adjustmentboundary lines are straight lines, the first display area is a circle,and the area in which the first display area is shifted to any of thewindow adjustment boundary lines is a corresponding area in which atleast one position point of the first display area coincides with any ofthe window adjustment boundary lines. It can be understood that whenthere is an adjustment boundary line, no matter how the capturing windowis adjusted, the display area of the capturing window cannot exceed theboundary line.

In an embodiment of the present disclosure, the method may furthercomprise:

receiving a window size adjustment operation of the user for the videocapturing window; andadjusting the video capturing window to a corresponding display size, inresponse to the window size adjustment operation.

Wherein, the size of the video capturing window may be set according tothe pre-configured default value, or the size of the video capturingwindow may be adjusted by the user based on the user's actual needs. Inpractical applications, the video playing interface comprises a relatedtriggering identifier for triggering the window size adjustmentoperation, such as a specifying triggering button or an input box, ormay also be a user's voice; in one or more embodiments of presentdisclosure, the triggering identifier may be a virtual button “window”displayed on the video playing interface, and the user may trigger thewindow size adjustment operation by using the button. The adjustment ofthe video capturing window size may be realized by the operation.

In step S130, the user's video and the original video may be combined toobtain a combined video.

Wherein, the video comprises video frame images (video frames) and audioinformation. In the process of combining the user's video with theoriginal video, the corresponding video frame images and audioinformation of the two videos may be separately combined (in asuperimposition manner). Finally, all video frame images and all audioinformation which have been combined are re-combined into a combinedvideo.

In the embodiment of the present disclosure, the user's video and theoriginal video may be combined according to a preset combining manner toobtain the combined video, wherein the preset combining manner comprisessynchronous combining or asynchronous combining.

In the embodiment of the present disclosure, when the combining manneris synchronous combining, the video frame images and the audioinformation of the captured user's video may be respectively combinedwith the video frame images and the audio information of the originalvideo being played at the capturing moment in the capturing process ofrecording the user's video, thus the video frame images and the audioinformation of the combined video at the corresponding moment areobtained, and after the capturing of the user's video is completed, allvideo frame images and all audio information of the original video arecombined to obtain a combined video.

In other words, while recording the user's video, the user combines thevideo frame images of the recorded user's video with the video frameimages of the original video corresponding to the capturing moment whilecapturing the video frame image, and combines the audio information ofthe recorded user's video with the audio information of the originalvideo corresponding to the capturing moment while capturing the videoframe image, and the video frame images and the audio informationcorresponding to the corresponding moment in the combined video areobtained, and when the capturing of the user's video is completed, thevideo frame images and audio information corresponding to all themoments are combined to obtain the final combined video.

When the combining manner is asynchronous combining, the user's videoand the original video may be combined after the recording of the user'svideo is completed, to obtain a combined video.

In other words, in the process of capturing the user's video through thevideo capturing window, without combining the video, the recorded user'svideo may be saved first, and when the recording of the user's video iscompleted, the video frame images and audio information of the saveduser's video are separately combined with the video frame images andaudio information of the original video to obtain a final combinedvideo.

In an embodiment of the present disclosure, among the video frame imageof the above combined video, the video frame images in the user's videoare displayed on the video frame images in the original video.

It should be noted that, in the video generating method provided by theembodiment of the present disclosure, when the original video and theuser's video are combined to obtain a combined video, regardless ofwhether the synchronous combining or the asynchronous combining is used,the video frame images of the user's video are combined with the videoframe images of the corresponding original video, and then the audioinformation corresponding to the video frame images of the user's videois combined with the audio information corresponding to the video frameimages of the corresponding original video, and the combined video frameimages and corresponding audio information are combined to obtain acombined video. Wherein, optionally, the combining the video frameimages with the video frame image, may refer to combining correspondingtwo video frame images into one frame image, and the video frame imageof the user's video in the one combined frame image locates on the videoframe image of the original video. Wherein, when the video frame imagesare combined with the video frames image, the size of the video frameimages of the user's video is smaller than the size of the video frameimages of the corresponding original video. In one example, for example,the duration of the user's video is 10s, and the duration of theoriginal video is also 10s. When the video frame image of the user'svideo is combined with the video frame image of the correspondingoriginal video, the video frame images of the first second is combinedwith the video frame image of the first second of the original video,and the obtained video frame image is the video frame image of the firstsecond in the corresponding combined video, and each video frame imagein the user's video is combined with each video frame image in thecorresponding video to obtain the combined video.

As an example, FIG. 4 shows one video frame image in a combined videoobtained by combining one video frame image in a user's video with onevideo frame image in an original video. As shown in the figure, theimage I is a part of the video frame image in the original video, theimage II is a part of the video frame image in the user's video, and theimage combined by the image I and the image II is the combined videoframe image.

In actual applications, based on the display content of the originalvideo, the duration of the user's video recorded by the user may beconsistent with the duration of the original video, or may beinconsistent. In order to make the contents of the user's videocorrespond to the contents in the original video, and further enhancethe user's interactive experience, in the embodiment of the presentdisclosure, if the duration of the user's video is less than theduration of the original video, then the user's video and the originalvideo are combined to obtain a combined video, which may comprise:

determining a first video in the original video corresponding to therecording start moment and being consistent with the duration of theuser's video according to the recording start moment of the user'svideo; combining the user's video with the first video to obtain asecond video; and obtaining the combined video according to the secondvideo and videos in the original video except for the first video.

In one example, if the duration of the original video is 30 seconds andthe recorded user's video is only 20 seconds, then at this time, thevideo in the original video corresponding to the recording start momentand whose duration is 20 seconds may be determined as the first videoaccording to the recording start moment of the user's video, and thenthe first video is combined with the user's video to obtain the secondvideo of 20 seconds, and after that the second video is combined withthe remaining video of 10 seconds in the original video to finallyobtain the combined video whose duration is the same as the originalvideo.

Of course, in actual applications, when the durations of the originalvideo and the user's video are inconsistent, specific combining mannersof the two may be configured as needed. For example, in one optionalsolution, the user's video and the above first video may be combined toobtain the combined video, that is, the video in the original videoexcept for the first video is discarded when combining the originalvideo with the user's video.

In an embodiment of the present disclosure, the method may furthercomprise:

receiving a user's volume adjustment operation through a video playinginterface; andcorrespondingly adjusting the volume of the audio information of theoriginal video and/or the audio information of the user's video inresponse to the volume adjustment operation.

Wherein, in order to further enhance the user's interactive experience,the volume in the original video and/or the user's video may also beadjusted to meet the video play requirements of different users. Inactual applications, if the user does not need to adjust the volume ofthe original video and the user's video, then the volume in the captureduser's video may be a pre-configured volume, such as a volume consistentwith the volume in the original video, or a preset volume.

In practical applications, the volume may be adjusted through the volumeadjustment virtual button on the video playing interface, and the volumeadjustment virtual button may be a volume adjustment progress bar. Forcorresponding to the adjustment of the volume of the original video andthe volume of the user's video, two volume adjustment progress bars maybe correspondingly configured, such as the volume adjustment progressbar a and the volume adjustment progress bar b, wherein the volumeadjustment progress bar a may be used to adjust the volume of theoriginal video, and the volume adjustment progress bar b may be used toadjust the volume of the user's video, and different identifiers areused to distinguish different volume adjustment progress bars.

As one example, a schematic diagram of a volume adjustment manner isshown in FIG. 5A. The user may adjust the volume by sliding the volumeadjustment progress bars a and b which are used to adjust the volume ofan original video and that of a user's video respectively, and slidingto the top of the interface (i.e., the “+” identifier direction)indicates that the volume is turned up; sliding to the bottom of theinterface (i.e., the “−” identifier direction) indicates that the volumeis turned down. According to actual needs, the volume adjustmentprogress bars a and b may also be set in a horizontal direction, thatis, a schematic diagram of the volume adjustment manner as shown in FIG.5B, sliding to the left of the interface (i.e., the “−” identifierdirection) indicates that the volume is turned down, and sliding to theright of the interface (i.e., the “+” identifier direction) indicatesthat the volume is turned up.

It should be noted that, in actual applications, the volume adjustmentinterface and the video playing interface may be the same displayinterface or different display interfaces. If they are different displayinterfaces, when the user's volume adjustment operation is receivedthrough the video playing interface, the volume adjustment interface maybe displayed, and the volume adjustment may be performed through thevolume adjustment interface. Optionally, in order not to affect therecording and playing of the video, the volume adjustment interface maybe superimposed on the video playing interface, such as displayed at theedge position of the video playing interface.

In an embodiment of the present disclosure, the method may furthercomprise:

receiving a special effect addition operation for the special effect tobe added by the user through the video playing interface; andadding the special effect to be added to the user's video in response tothe special effect addition operation.

Wherein, in order to meet the video capturing needs of different users,the user may also be provided with the function of adding a specialeffect to the user's video, that is, adding a selected special effect tobe added to the user's video by the user's special effect additionoperation. The special effect to be added may be added before the user'svideo is captured, or may be added in the process of capturing theuser's video, or may be added after the capturing of the user's video iscompleted, and the timing of adding the special effects is not limitedin the present disclosure.

In practical applications, the function of adding a special effect tothe user's video may be implemented in at least one of the followingtypes:

First type: the special effect addition function may be implementedthrough the virtual button “Special effect” displayed on the videoplaying interface, and the operation of the user clicking the button maybe the special effect addition operation for the special effect to beadded by the user, and the special effect corresponding to the button isadded to the user's video.

Second type: the special effect may be added by sliding the displayinterface of the user's video. The user may add the correspondingspecial effects to the user's video by sliding the display interface ofthe user's video to the left and right with an operation object (e.g.fingers).

In the embodiment of the present disclosure, before capturing the user'svideo via the video capturing window, the method may further comprise:

receiving a recording selection operation for a user's video recordingmanner by the user through a video playing interface, and the recordingmanner comprises at least one of a quick recording, a slow recording,and a standard recording; anddetermining the user's video recording manner in response to therecording selection operation.

Wherein, in order to meet the needs of different users, the user may beprovided with the function of selecting the recording manner of theuser's video before capturing the user's video, that is, recording theuser's video according to the selected recording manner through theuser's recording selection operation. The recording speed of the quickrecording, the recording speed of the standard recording, and therecording speed of the slow recording are sequentially reduced. With theselection of different recording manners, the function of recording theuser's video in a variable speed may be realized, thereby furtherimproving the user's interactive experience.

It may be understood that the fast, slow, and standard in the above fastrecording, slow recording, and standard recording are relative, and therecording speeds of different recording manners are different, and therecording speed of each recording manner may be configured as needed.For example, the quick recording refers to the recording manner in whichthe recording speed is the first speed, the slow recording is therecording manner in which the recording speed is the second speed, andthe standard recording refers to the recording manner in which therecording speed is the third speed, and the first speed is greater thanthe third speed, the third speed is greater than the second speed.

In the embodiment of the present disclosure, after the user's video andthe original video are combined to obtain a combined video, the methodmay further comprise:

receiving a user's video save operation and/or video issuing (posting)operation; andin response to the video save operation, saving the combined videolocally, and/or, in response to the video issuing operation, issuing thecombined video.

Wherein, after obtaining the combined video, the user may be providedwith a function of issuing and/or saving the combined video, that is,the combined video may be issued (posted) to a specified video platformthrough the user's video issuing operation, so as to realize the sharingof the combined video; or the combined video may be saved locally forviewing by the user through the user's video save operation. In theactual applications, after the combined video is obtained, it may skipto the video issuing interface and receive the user's video issuingoperation through the video issuing interface, or the user's videoissuing operation may be directly received through the video playinginterface, wherein the video issuing operation may be obtained by theuser clicking the virtual button “Issue” (or, “Post”).

In an embodiment of the present disclosure, issuing the combined videoin response to the video issuing operation may comprise:

acquiring the user's combined video viewing permission in response tothe video issuing operation; andissuing the combined video according to the combined video viewingpermission.

Wherein, in order to meet the user's privacy requirements for thecombined video, the user is provided with a function of configuring thecombined video viewing permission, that is, acquiring the user'scombined video viewing permission through the user's video issuingoperation, and the combined video is issued according to the user'scombined video viewing permission. By the combined video viewingpermission, the combined video may only be viewed by the usercorresponding to the combined video viewing permission, and the userwithout the combined video viewing permission cannot view the combinedvideo. In actual applications, the combined video viewing permission maybe pre-configured, and the combined video viewing permission can bepre-configured for any combined video which needs to be issued; and thecombined video viewing permission may also be configured while thecurrent combined video is issued, then correspondingly the currentcombined video is sued according to the configured privacy permission.

Wherein, the combined video viewing permission comprises at least one of“anyone”, “friends”, and “self”. “Anyone” indicates that the combinedvideo can be viewed by anyone, and “friends” indicates that only theuser's friends can view the combined video, and “self” indicates thatonly the user can view the combined video.

In an embodiment of the present disclosure, the method may furthercomprise:

generating a push message for a combined video; andsending the push message to an associated user of the user and/or anassociated user of the original video.

Wherein, in order to notify the person associated with the combinedvideo, when issuing the combined video, a push message for the combinedvideo may be generated, by which the associated user of the user and/orthe associated user of the original video may know the issuing of thecombined video in time. Wherein, the associated user of the user refersto a user that has an association relationship with the user. Theinvolved scope of the association relationship may be configured asneeded, for example, may include but not limit to the person followed bythe user or the person who follows the user. The associated user of theoriginal video is the user who has the association relationship with theissuer (poster) of the original video, for example, may include but notlimit to the issuer of the original video or the person involved in theoriginal video. For example, the original video is a video that has beencombined once. The issuer of the original video is a user here namedwith user1. The author of the initial original video corresponding tothe original video before combining is a user here named with user2, andthe associated user of the original video may comprise user1 and user2.

In practical applications, when a combined video is issued, relevantattention information may be added to the title of the combined video toindicate by which user the issuing of the combined video is intended tobe known, and the receiver of the push information may be embodied bythe form of @a certain user.

In one example, if user1 follows user2, and user1 issues (posts) acombined video, and user1 associates with user2, i.e. user1 @ user2(wherein, the situation that user1 @ user2 may be displayed in the titleof the combined video), the push message for the combined video is sentto user2, such that user2 knows that the user1 has issued the video.

In yet another example, although user1 follows user2 and user1 issues acombined video, but user1 does not @user2, then user2 cannot receive thepush message of the combined video.

In yet another example, user1 does not follow user2 and user1 issues thecombined video, but user1 @user2 when issuing the combined video, thenuser2 may receive the push message of the combined video.

In an embodiment of the present disclosure, the method may furthercomprise: hiding a virtual button of a corresponding function in thevideo playing interface.

In practical applications, virtual identifiers indicating differentfunctions may be displayed on the video playing interface, for example,a virtual button i indicating the start of the capturing, a progress barii indicating the capturing progress, a virtual button iii indicatingthe addition of the special effect, and a virtual button iv indicatingthe issue of the combined video and the like. Schematic diagrams of onevideo playing interface are shown in FIGS. 6A and 6B. In order tofurther enhance the user's interactive experience, other virtualidentifiers on the video playing interface except for the virtual buttoni and the progress bar ii in FIG. 6A may be hidden, for example, thevirtual buttons iii and iv are hidden, and the interface when they arehidden is as shown in FIG. 6B. The hiding of the virtual identifiers maykeep the video playing interface clean and tidy.

In actual applications, a virtual button for hiding a function buttonmay also be set on the interface, by which the user may set whichfunction buttons are hidden or displayed. In one or more embodiments ofpresent disclosure, when receiving the user's operation on the button,the user chooses which virtual buttons to be hidden by this button, orto choose to restore and display the previously hidden virtual buttons.

Based on the same principle as the method shown in FIG. 1, a videogeneration apparatus 20 is further provided in the embodiment of thepresent disclosure. As shown in FIG. 7, the video generation apparatus20 may comprise a capturing operation receiving module 210 and a uservideo capturing module 220 and a combined video generation module 230,wherein,

the capturing operation receiving module 210 is configured to receive auser's video capturing operation through a video playing interface ofthe original video;the user video capturing module 220 is configured to superimpose thevideo capturing window on the video playing interface, capture theuser's video, and display the user's video through the video capturingwindow in response to the video capturing operation; andthe combined video generation module 230 is configured to combine theuser's video with the original video to obtain a combined video.

In an embodiment of the present disclosure, the video generationapparatus may further comprise an original video playing moduleconfigured to play the original video while displaying the user's videothrough the video capturing window.

In the embodiment of the present disclosure, the combined videogeneration module 230 may combine the user's video with the originalvideo according to a preset combining manner to obtain a combined video,wherein the combining manner comprises synchronous combining orasynchronous combining.

In the embodiment of the present disclosure, If the combining manner issynchronous combining, the combined video generation module 230 maycombine, in the capturing process of recording the user's video, videoframe images and audio information of the captured user's video with thevideo frames images and the audio information of the original videoplayed at a capturing moment respectively, to obtain video frame imagesand audio information of the combined video at a corresponding moment,and combine all the video frame images and all the audio information ofthe combined video after completing the capturing of the user's video toobtain the combined video

If the combining manner is asynchronous combining, the combined videogeneration module 230 may combine all the user's videos with theoriginal video after completing the recording of the user's video toobtain the combined video.

In an embodiment of the present disclosure, the video frame image in theuser's video in the video frame image of the combined video is displayedabove the video frame image in the original video.

In an embodiment of the present disclosure, the apparatus 20 may furthercomprise a volume adjustment module configured to receive a user'svolume adjustment operation through the video playing interface, andcorrespondingly adjust the volume of the audio information of theoriginal video and/or the audio information of the user's videoaccording to the volume adjustment operation.

In the embodiment of the present disclosure, if a duration of the user'svideo is less than a duration of the original video, the combined videogeneration module may be configured to determine according to therecording start moment of the user's video, a first video in theoriginal video corresponding to a recording start moment and beingconsistent with the duration of the user's video, combine the user'svideo with the first video to obtain a second video, and obtain thecombined video according to the second video and videos except for thefirst video in the original video.

The video generation apparatus 20 of this embodiment may perform amethod for adding special effect to video provided by an embodiment ofthe present disclosure, and the implementation principles thereof aresimilar, and details are not described herein again.

It can be understood that the actions performed by the respectivemodules in the video generation apparatus in the embodiments of thepresent disclosure correspond to the steps in the video generatingmethod in the embodiments of the present disclosure. Detaileddescription of the function of each module of the video generationapparatus may refer to the corresponding description of the videogenerating method shown in the foregoing, and details are not describedherein again.

Based on the same principles as the video generating method of theembodiment of the present disclosure, an embodiment of the presentdisclosure further provides an electronic device, which may include, butis not limited to, a processor and a memory, wherein the memory may beused to store computer operation instructions; the processor may be toexecute the video generating method of the present disclosure by callingthe computer operation instructions, and details are not describedherein again.

Based on the same principle as the video generating method of theembodiment of the present disclosure, the embodiments of the presentdisclosure also provides a computer storage medium storing at least oneinstruction, at least one program, a code set, or a set of instructions,which are loaded and executed by a computer to execute the videogenerating method of the present disclosure, and details are notdescribed herein again.

Further referring to FIG. 8, it shows a structural diagram suitable forimplementing an electronic device 800 of an embodiment of the presentdisclosure, for example, the electronic device may be a terminal device.Wherein, the terminal device may include, but is not limited to a mobileterminal, such as a mobile phone, a notebook computer, a digitalbroadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet),a PMP (Portable Multimedia Player), an in-vehicle terminal (for example,a car navigation terminal) and the like, as well as a fixed terminalsuch as digital TV, a desktop computer and the like. The electronicdevice shown in the FIG. 8 is merely one example, and should notconstruct any limitation on the function and scope of use of theembodiments of the present disclosure.

As shown in FIG. 8, the electronic device 800 may comprise a processingapparatus (e.g., a central processing unit, a graphics processor, etc.)801 that may execute various actions and processing according to theprogram stored in the read-only memory (ROM) 802 or program loaded froma storage apparatus to the random access memory (RAM) 803. The RAM 803also stores various programs and data required for the operation of theelectronic device 800. The processing apparatus 801, the ROM 802, andthe RAM 803 are connected to each other through a bus 804. Aninput/output (I/O) interface 805 is also connected to the bus 804.

In general, the following apparatus may be connected to the I/Ointerface 805: an input apparatus 806 including, for example, a touchscreen, a touch pad, a keyboard, a mouse, a camera, a microphone, anaccelerometer, a gyroscope and the like; an output apparatus 807including, for example, a liquid crystal display (LCD), a speaker, avibration and the like; a storage 808 including, for example, a magnetictape and a hard disk and the like; and a communication apparatus 809.The communication apparatus 809 may allow the electronic device 800 tocommunicate wirelessly or by wire with other devices to exchange data.Although FIG. 8 illustrates an electronic device 800 having variousapparatus, it should be understood that it is not required to implementor have all of the illustrated devices. Alternatively, more or lessdevices may be implemented.

In particular, the processes described above with reference to theflowcharts may be implemented as a computer software program accordingto an embodiment of the present disclosure. For example, an embodimentof the present disclosure comprises a computer program productcomprising a computer program loaded on a computer readable medium, andthe computer program contains program codes for executing the methodshown in the flowchart. In such an embodiment, the computer program maybe downloaded and installed from the network via the communicationapparatus 809, or installed from the storage apparatus 808, or installedfrom the ROM 802. When the computer program is executed by theprocessing apparatus 801, the above functions defined in the method ofthe embodiments of the present disclosure are executed.

It should be noted that the above computer readable medium of thepresent disclosure may be a computer readable signal medium or acomputer readable storage medium or any combination of the above two.The computer readable storage medium may be, for example, but is notlimited to, an electronic, magnetic, optical, electromagnetic, infrared,or semiconductor system, apparatus, or device, or any combination of theabove. More specific examples of the computer readable storage media mayinclude, but are not limited to, electrical connections having one ormore wires, portable computer disks, hard disks, random access memory(RAM), read only memory (ROM), erasable programmable read only memory(EPROM or flash memory), optical fiber, portable compact disk read onlymemory (CD-ROM), optical storage device, magnetic storage device, or anysuitable combination of the above. In the present disclosure, a computerreadable storage medium may be any tangible medium that may contain orstore programs, which may be used by or in connection with aninstruction execution system, apparatus, or device. In the presentdisclosure, a computer readable signal medium may comprise a data signalthat is propagated in the baseband or propagated as part of a carrier,carrying computer readable program codes. Such propagated data signalsmay take various forms, which includes, but is not limited to,electromagnetic signals, optical signals, or any suitable combination ofthe above. The computer readable signal medium may also be any computerreadable medium except for a computer readable storage medium, and thecomputer readable signal medium may transmit, propagate or transport aprogram for use by or in connection with an instruction executionsystem, apparatus or device. Program codes contained on the computerreadable medium may be transmitted by any suitable medium, whichincludes but is not limited to: wire, fiber optic cable, RF (radiofrequency), and the like, or any suitable combination of the above.

The above computer readable medium may be contained in the aboveelectronic device; or may be separately present and is not incorporatedin the electronic device.

The computer readable medium carries one or more programs, when the oneor more programs are executed by the electronic device, causing theelectronic device to: acquire at least two internet protocol addresses;and send the node evaluation request including at least two internetprotocol addresses to the node evaluation device, wherein the nodeevaluation device selects and return an internet protocol address fromthe at least two internet protocol addresses; receive the internetprotocol address returned by the node evaluation device; wherein theacquired internet protocol address indicates the edge nodes in thecontent distribution network.

Or, the computer readable medium carries one or more programs, when theone or more programs are executed by the electronic device, causing theelectronic device to: receive a node evaluation request including atleast two internet protocol addresses; select the internet protocoladdress from the at least two internet protocol addresses, and returnthe selected internet protocol address; wherein the received internetprotocol address indicates an edge node in the content distributionnetwork.

Computer program codes for executing the operations of the presentdisclosure may be written in one or more programming languages, orcombinations thereof, wherein the programming languages comprises anobject-oriented programming language such as Java, Smalltalk, C++, andalso comprises conventional procedural programming language—such as “C”language or similar programming languages. The program codes may beexecuted entirely on the user's computer, partly executed on the user'scomputer, executed as an independent software package, partly executedon the user's computer and partly executed on the remote computer, orentirely executed on the remote computer or on the server. In the caseof involving the remote computer, the remote computer may be connectedto the user's computer through any kind of network, including a localarea network (LAN) or a wide area network (WAN), or may be connected toan external computer (e.g., using an Internet service provider toconnect via Internet).

The flowchart and block diagrams in the drawings illustrate thearchitecture, function, and operation of possible implementations ofsystems, methods, and computer program products according to variousembodiments of the present disclosure. In this regard, each block of theflowchart or block diagram may represent one module, a program segment,or a portion of the codes, and the module, the program segment, or theportion of codes comprises one or more executable instructions forimplementing the specified logic functions. It should also be noted thatin some alternative implementations, the functions noted in the blocksmay also occur in an order different from the order noted in thedrawings. For example, two successively represented blocks may in factbe executed substantially in parallel, and they may sometimes beexecuted in the opposite order, depending upon the involved function. Itis also noted that each block of the block diagrams and/or flowcharts,and combinations of blocks in the block diagrams and/or flowcharts, maybe implemented in a dedicated hardware-based system that executes thespecified functions or operations, or it may be implemented by acombination of dedicated hardware and computer instructions.

The above description is only a preferred embodiment of the presentdisclosure and a description of the principles of the appliedtechnology. It should be understood by those skilled in the art that thedisclosure scope of the present disclosure is not limited to thespecific technical solutions of the above technical features, and shouldalso cover other technical solutions formed by the random combination ofthe above technical features or equivalent features thereof withoutdeparting from the above disclosed concept, such as a technique solutionin which the above features are replaced with technical features havingsimilar functions disclosed (but is not limited) in the presentdisclosure.

1. A video generating method, comprising: receiving a user's videocapturing operation through a video playing interface of an originalvideo; in response to the video capturing operation, superimposing avideo capturing window on the video playing interface, capturing theuser's video, and displaying the user's video through the videocapturing window; and combining the user's video with the original videoto obtain a combined video.
 2. The method according to claim 1, furthercomprising: playing the original video while displaying the user's videothrough the video capturing window.
 3. The method according to claim 1,wherein, the user's video and the original video are combined in apreset combining manner to obtain the combined video, wherein thecombining manner comprises synchronous combining or asynchronouscombining.
 4. The method according to claim 3, wherein, if the combiningmanner is synchronous combining, during the capturing of the user'svideo, combining video frame images and audio information of thecaptured user's video with the video frame images and the audioinformation of the original video being played at a capturing time,respectively, to obtain video frame images and audio information of thecombined video at the corresponding moment, and combining all the videoframe images and all the audio information of the combined video aftercompleting the capturing of the user's video to obtain the combinedvideo; and if the combining manner is asynchronous combining, combiningthe user's videos with the original video after completing the capturingof the user's video to obtain the combined video.
 5. The methodaccording to claim 1, wherein, among the video frame images of thecombined video, the video frame images in the user's video are displayedon video frame images in the original video.
 6. The method according toclaim 1, further comprising: receiving the user's volume adjustingoperation through the video playing interface; and adjusting the volumeof the audio information of the original video and/or the audioinformation of the user's video correspondingly in response to thevolume adjustment operation.
 7. The method according to claim 1,wherein, if a duration of the user's video is less than a duration ofthe original video, the combining the user's video with the originalvideo to obtain a combined video comprises: determining, in the originalvideo, according to the capturing start moment of the user's video, afirst video corresponding to a capturing start moment and beingconsistent with the duration of the user's video; combining the user'svideo with the first video to obtain a second video; and obtaining thecombined video according to the second video and videos except for thefirst video in the original video.
 8. (canceled)
 9. (canceled) 10.(canceled)
 11. (canceled)
 12. An electronic device comprising: aprocessor and a memory, wherein, the memory is configured to storecomputer operation instructions; and the processor is configured toexecute a video generating method by calling the computer operationinstructions, the method comprises: receiving a user's video capturingoperation through a video playing interface of an original video; inresponse to the video capturing operation, superimposing a videocapturing window on the video playing interface, capturing the user'svideo, and displaying the user's video through the video capturingwindow; and combining the user's video with the original video to obtaina combined video.
 13. A non-transitory computer readable storage medium,the computer readable storage medium stores at least one instruction, atleast one program, a code set, or a set of instructions, the at leastone instruction, the at least one program, the code set or the set ofinstructions is loaded and executed by a computer to implement a videogenerating method comprising: receiving a user's video capturingoperation through a video playing interface of an original video; inresponse to the video capturing operation, superimposing a videocapturing window on the video playing interface, capturing the user'svideo, and displaying the user's video through the video capturingwindow; and combining the user's video with the original video to obtaina combined video.
 14. The electronic device according to claim 12, themethod further comprises: playing the original video while displayingthe user's video through the video capturing window.
 15. The electronicdevice according to claim 12, wherein, the user's video and the originalvideo are combined in a preset combining manner to obtain the combinedvideo, wherein the combining manner comprises synchronous combining orasynchronous combining.
 16. The electronic device according to claim 15,wherein, if the combining manner is synchronous combining, during thecapturing of the user's video, combining video frame images and audioinformation of the captured user's video with the video frame images andthe audio information of the original video being played at a capturingtime, respectively, to obtain video frame images and audio informationof the combined video at the corresponding moment, and combining all thevideo frame images and all the audio information of the combined videoafter completing the capturing of the user's video to obtain thecombined video; and if the combining manner is asynchronous combining,combining the user's videos with the original video after completing thecapturing of the user's video to obtain the combined video.
 17. Theelectronic device according to claim 12, the method further comprises:receiving the user's volume adjusting operation through the videoplaying interface; and adjusting the volume of the audio information ofthe original video and/or the audio information of the user's videocorrespondingly in response to the volume adjustment operation.
 18. Theelectronic device according to claim 12, wherein, if a duration of theuser's video is less than a duration of the original video, thecombining the user's video with the original video to obtain a combinedvideo comprises: determining according to the capturing start moment ofthe user's video, a first video corresponding to a capturing startmoment and being consistent with the duration of the user's video in theoriginal video; combining the user's video with the first video toobtain a second video; and obtaining the combined video according to thesecond video and videos except for the first video in the originalvideo.
 19. The computer readable storage medium according to claim 13,the method further comprising: playing the original video whiledisplaying the user's video through the video capturing window.
 20. Thecomputer readable storage medium according to claim 13, wherein, theuser's video and the original video are combined in a preset combiningmanner to obtain the combined video, wherein the combining mannercomprises synchronous combining or asynchronous combining.
 21. Thecomputer readable storage medium according to claim 20, wherein, if thecombining manner is synchronous combining, during the capturing of theuser's video, combining video frame images and audio information of thecaptured user's video with the video frame images and the audioinformation of the original video being played at a capturing time,respectively, to obtain video frame images and audio information of thecombined video at the corresponding moment, and combining all the videoframe images and all the audio information of the combined video aftercompleting the capturing of the user's video to obtain the combinedvideo; and if the combining manner is asynchronous combining, combiningthe user's videos with the original video after completing the capturingof the user's video to obtain the combined video.
 22. The computerreadable storage medium according to a claim 13, wherein, among thevideo frame images of the combined video, the video frame images in theuser's video are displayed on video frame images in the original video.23. The computer readable storage medium according to claim 13, themethod further comprising: receiving the user's volume adjustingoperation through the video playing interface; and adjusting the volumeof the audio information of the original video and/or the audioinformation of the user's video correspondingly in response to thevolume adjustment operation.
 24. The computer readable storage mediumaccording to claim 13, wherein, if a duration of the user's video isless than a duration of the original video, the combining the user'svideo with the original video to obtain a combined video comprises:determining according to the capturing start moment of the user's video,a first video corresponding to a capturing start moment and beingconsistent with the duration of the user's video in the original video;combining the user's video with the first video to obtain a secondvideo; and obtaining the combined video according to the second videoand videos except for the first video in the original video.